package com.rockcent.mall.lib.repository;

import com.rockcent.common.domain.enumclass.Whether;
import com.rockcent.mall.lib.domain.enumclass.PacketCouponStatus;
import com.rockcent.mall.lib.dto.RedPacketCouponDto;

import java.util.List;

/**
 * Created by zhangjh on 2016/11/21.
 */
public interface RedPacketCouponRepositoryCustom {
    List<RedPacketCouponDto> findAllByRedPacketIdAndIsShareRewardAndStatus(Long redPacketId, Whether isShareReward, PacketCouponStatus status);
}
